package cn.jiahua.hospital.mapper;

import cn.jiahua.hospital.pojo.HdidRelation;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


public interface HdidRelationMapper {


    public HdidRelation getHdidRelationById(@Param(value = "id") Integer id);

    public List<HdidRelation> getHdidRelationListByMap(Map<String, Object> param);

    public Integer getHdidRelationCountByMap(Map<String, Object> param);

    public Integer insertHdidRelation(HdidRelation hdidRelation);

    public Integer updateHdidRelation(HdidRelation hdidRelation);

    public Integer deleteHdidRelationById(@Param(value = "id") Integer id);

    public Integer batchDeleteHdidRelation(Map<String, List<String>> params);

    public Integer modify(HdidRelation hdidRelation);

    public Integer modifyDoctor(HdidRelation hdidRelation);

    public List<HdidRelation> selectDT(@Param("hospitalId") Integer hospitalId,
                                       @Param("tdepartmentsName")String tdepartmentsName,
                                       @Param("name") String name);


}
